package com.admin.admindemo.controler;

import com.admin.admin_util.annotation.AdminUtilAnnotation;
import com.admin.admindemo.pojo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 陈群矜
 */
@RestController
public class TestController {

    @AdminUtilAnnotation("R1c36aef7d59049f9ad9a30bfe51f2f53")
    @GetMapping("/testHasAuthority")
    public Result<String> testHasAuthority() {
        return Result.ok("hello test!");
    }

}
